package com.kyle.silverbullet.admin.controller;

import feign.FeignException;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;

@RestControllerAdvice
public class AdviceController {
    @ExceptionHandler(FeignException.FeignServerException.class)
    public Exception feignExceptionHandler(FeignException.FeignServerException e) {
        return e;
    }
}
